package org.dk.em;

public enum DataResultEnum {
    SUCCESS(100,"操作成功"),
     ERROR(101,"操作失败"),
     NOLOGIN(103,"未登陆");

     private Integer code;
     private String message;

     public Integer getCode() {
         return code;
     }

     public void setCode(Integer code) {
         this.code = code;
     }

     public String getMessage() {
         return message;
     }

     public void setMessage(String message) {
         this.message = message;
     }

     DataResultEnum(Integer code, String message) {
         this.code = code;
         this.message = message;
     }

     DataResultEnum() {
     }
}
